﻿@model Ajax.Models.NewsViewModel

@{
    ViewBag.Title = "Index";
}

<h2>Index</h2>
<div><a href="/News/Add">Tạo bài viết</a> </div>
<ul>
@foreach (var item in Model.News)
{
    <li><a href="/News/Detail/@item.Id/NewDetail">@item.Title</a></li>
}
</ul>
